home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
utils
/
smore.arc
/
MORE.MAN
next >
Wrap
Text File
|
1990-01-12
|
2KB
|
65 lines
MORE (1) ATARI ST programmer's manual MORE (1)
NAME
more - a _✓s_✓i_✓m_✓p_✓l_✓e pager for the ST
SYNOPSIS
more [-fhprs] [file ...]
DESCRIPTION
More displays text from files or standard input page by page
on standard output. If no arguments are given, more reads from
standard input. Options:
-f force _✓f_✓i_✓l_✓e_✓ _✓m_✓o_✓d_✓e: more will not read from stdin, but instead
display an error message if no file is specified.
-h _✓h_✓o_✓l_✓d mode: more will wait before exiting.
-p _✓p_✓r_✓o_✓m_✓p_✓t: more will display its prompt before displaying
any lines.
-r _✓r_✓a_✓w: do not highlight characters preceded by "_\b".
-s _✓s_✓q_✓u_✓e_✓e_✓z_✓e: display multiple empty lines as one.
Text is displayed in chunks of 20 lines; more assumes
that text wraps around after 80 characters. After each chunk,
more displays a prompt, allowing following inputs:
<blank> 20 more lines
<Return> 1 more line
<digit> <digit> more lines
d 10 more lines
b <Backspace> back 20 lines (files only)
/<string> up to next occurence of <string>
s /<last string specified>
n next file (if any)
p previous file (if any)
t top of file (if not standard input)
h set hold mode
!<command> execute shell command
q exit
The prompt also reports the number of source lines shown so far, and,
for files, the percentage of text displayed.
NOTES
More tries to gracefully handle non-printable characters.
The prompt is not displayed via standard output, but via
BIOS calls; thus, if output is redirected, only source lines
are redirected. Uses the VT52 escape sequences for showing
characters preceded by "_\b" in reverse video.
RESTRICTIONS
For moving backwards, more buffers newline positions in a file up to
a maximum of 10000 lines.
FILES
m:\bin\more.ttp
AUTHOR
hafer@infbs